
.login-container {
    height: calc(100% - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog {
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.login-dialog h3 {
    text-align: center;
    padding: 50px 0;
}

.login-dialog .row {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-dialog .row span {
    width: 100px;
    font-weight: 700;
}

#user_name, #password {
    width: 200px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    padding-left: 10px;
    border: none;
    outline: none;
    border-radius: 10px;
}

/* 按钮容器样式 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 300px;
}

/* 提交按钮样式 */
#submit {
    width: 140px;
    height: 50px;
    background-color: rgb(0, 128, 0);
    color: white;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submit:hover {
    background-color: rgb(0, 100, 0);
}

/* 注册按钮样式 */
#register {
    width: 140px;
    height: 50px;
    background-color: white;
    color: rgb(0, 128, 0);
    border: 2px solid rgb(0, 128, 0);  /* 绿色边框 */
    outline: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#register:hover {
    background-color: rgba(0, 128, 0, 0.1);  /* 悬停时轻微绿色背景 */
}

/* 登录按钮样式 - 调整为与提交按钮相同大小 */
#login {
    width: 140px;  /* 与提交按钮同宽 */
    height: 50px;  /* 与提交按钮同高 */
    background-color: white;
    color: rgb(0, 128, 0);
    border: 2px solid rgb(0, 128, 0);  /* 绿色边框 */
    outline: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#login:hover {
    background-color: rgba(0, 128, 0, 0.1);  /* 悬停时轻微绿色背景 */
}